<#assign t=JspTaglibs["/META-INF/tld/tiles-jsp.tld"] />
<#assign s=JspTaglibs["/META-INF/tld/struts-tags.tld"] />
<@s.url value="" var="cntxpth"/>
<@s.set name="contextPath" value="#cntxpth"  />
<@s.set name="templateName" value="#templateName"/>
<@s.set name="resourcePath">/${contextPath}templates/${templateName}</@s.set>

<div class="grid_6 box-1">
    <img src="${resourcePath}/images/page1-img1.png" alt="">

    <div class="extra-wrap">
        <h2><@s.text name="msg.who.i.am"/></h2>

    <#assign aDateTime =.now?string("yyyy")?number?int>
    <#assign stillExperience = "2005"?number?int>

        <p><@s.text name="msg.who.i.am.description">
            <@s.param value="${aDateTime - stillExperience}" />
        </@s.text>

        </p>
    </div>
</div>
<div class="grid_6 box-1">
    <img src="${resourcePath}/images/page1-img2.png" alt="">

    <div class="extra-wrap">
        <h2><@s.text name="msg.starting.up"/></h2>

        <p>
            <@s.text name="msg.starting.up.description"/>

        </p>
    </div>
</div>
<div class="grid_12 box-2">
    <div>
        <p class="text-3"><@s.text name="msg.welcome.to.my.site"/></p>

        <p class="text-4"><@s.text name="msg.welcome.to.my.site.description"/></p>
    </div>
</div>
<div class="grid_8">
    <h2 class="top-1">My Ideas</h2>

    <div class="box-3">
        <div>
            <img src="${resourcePath}/images/page1-img3.jpg" alt="" class="img-border">
            <a href="#" class="link-2">Nam liber tempor</a>

            <p>Uwisi eniminim veniam quis nostrud exerci tation ullamcorperex eacom.</p>
        </div>
        <div>
            <img src="${resourcePath}/images/page1-img4.jpg" alt="" class="img-border">
            <a href="#" class="link-2">Cum soluta nobis</a>

            <p>Duis autem vel eum iriure dolor henrerit vulputate velit esse molestie.</p>
        </div>
        <div class="last">
            <img src="${resourcePath}/images/page1-img5.jpg" alt="" class="img-border">
            <a href="#" class="link-2">Eleifend optiongue</a>

            <p>Feugiat nulla facilisis atvero eros et accumsan et iusto odio dignissim.</p>
        </div>
    </div>
    <a href="#" class="button top-4">Read More</a>
</div>
<div class="grid_4">
    <h2 class="top-1">Latest Events</h2>

    <div class="box-4 top-2">
        <div class="date"><strong>29</strong><span>May, 2012</span></div>
        <p><a href="#" class="link">Lorem ipsum dolor sit amet consetetur</a><br>Sadipscing elitriam nonumy
            eirmod nonumy eirmod tempor invidunt labore.</p>
    </div>
    <div class="box-4 top-3">
        <div class="date"><strong>21</strong><span>May, 2012</span></div>
        <p><a href="#" class="link">Dolore magna aliquyam erat dolor</a><br>At vero eos et accusam et justo duo
            dolores et ea rebum stet clita kasd gubergren.</p>
    </div>
    <a href="#" class="button top-4">Read More</a>
</div>
<div class="clear"></div>
